package com.lf.sp.service;

import com.lf.sp.common.ServerResponse;
import com.lf.sp.vo.CartVo;

public interface ICartService {

	ServerResponse<CartVo> add(Integer userId, Integer productId, Integer count);

	ServerResponse<CartVo> update(Integer userId, Integer productId, Integer count);

	ServerResponse<CartVo> deleteProduct(Integer userId, String productIds);

	ServerResponse<CartVo> list(Integer userId);

	ServerResponse<CartVo> selectOrUnSelect(Integer produrctId,Integer userId, Integer checked);

	ServerResponse<Integer> getCartProductCount(Integer userId);

}
